const merge = require('webpack-merge');
const common = require('./webpack.common.js');

module.exports = merge(common,{
    devtool: 'inline-source-map',//通过堆栈跟踪把错误指向某一源文件里
    devServer: {
        contentBase: './dist',
        hot: true
    },
})